package eric.mpab.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.farata.dto2fx.annotations.FXClass;

@FXClass("eric.mpab.model.Account")
public class Account implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;
	private String type;
	private String symbol;
	private String name;
	private String description;
	private Account parent;
	private List<Account> children = new ArrayList<Account>();

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getSymbol() {
		return symbol;
	}
	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Account getParent() {
		return parent;
	}
	public void setParent(Account parent) {
		this.parent = parent;
	}
	public List<Account> getChildren() {
		return children;
	}
	public void setChildren(List<Account> children) {
		this.children = children;
	}
}
